﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020009ED RID: 2541
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class KLIOLGAIKGL : IMessage<KLIOLGAIKGL>, IMessage, IEquatable<KLIOLGAIKGL>, IDeepCloneable<KLIOLGAIKGL>, IBufferMessage
	{
		// Token: 0x17002026 RID: 8230
		// (get) Token: 0x060071EE RID: 29166 RVA: 0x00130CF8 File Offset: 0x0012EEF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<KLIOLGAIKGL> Parser
		{
			get
			{
				return KLIOLGAIKGL._parser;
			}
		}

		// Token: 0x17002027 RID: 8231
		// (get) Token: 0x060071EF RID: 29167 RVA: 0x00130CFF File Offset: 0x0012EEFF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return KLIOLGAIKGLReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002028 RID: 8232
		// (get) Token: 0x060071F0 RID: 29168 RVA: 0x00130D11 File Offset: 0x0012EF11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return KLIOLGAIKGL.Descriptor;
			}
		}

		// Token: 0x060071F1 RID: 29169 RVA: 0x00130D18 File Offset: 0x0012EF18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KLIOLGAIKGL()
		{
		}

		// Token: 0x060071F2 RID: 29170 RVA: 0x00130D20 File Offset: 0x0012EF20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KLIOLGAIKGL(KLIOLGAIKGL other) : this()
		{
			this.eAFCLNOFMHB_ = other.eAFCLNOFMHB_;
			this.eHFNPFCACGJ_ = other.eHFNPFCACGJ_;
			this.itemId_ = other.itemId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060071F3 RID: 29171 RVA: 0x00130D5D File Offset: 0x0012EF5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KLIOLGAIKGL Clone()
		{
			return new KLIOLGAIKGL(this);
		}

		// Token: 0x17002029 RID: 8233
		// (get) Token: 0x060071F4 RID: 29172 RVA: 0x00130D65 File Offset: 0x0012EF65
		// (set) Token: 0x060071F5 RID: 29173 RVA: 0x00130D6D File Offset: 0x0012EF6D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EAFCLNOFMHB
		{
			get
			{
				return this.eAFCLNOFMHB_;
			}
			set
			{
				this.eAFCLNOFMHB_ = value;
			}
		}

		// Token: 0x1700202A RID: 8234
		// (get) Token: 0x060071F6 RID: 29174 RVA: 0x00130D76 File Offset: 0x0012EF76
		// (set) Token: 0x060071F7 RID: 29175 RVA: 0x00130D7E File Offset: 0x0012EF7E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EHFNPFCACGJ
		{
			get
			{
				return this.eHFNPFCACGJ_;
			}
			set
			{
				this.eHFNPFCACGJ_ = value;
			}
		}

		// Token: 0x1700202B RID: 8235
		// (get) Token: 0x060071F8 RID: 29176 RVA: 0x00130D87 File Offset: 0x0012EF87
		// (set) Token: 0x060071F9 RID: 29177 RVA: 0x00130D8F File Offset: 0x0012EF8F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ItemId
		{
			get
			{
				return this.itemId_;
			}
			set
			{
				this.itemId_ = value;
			}
		}

		// Token: 0x060071FA RID: 29178 RVA: 0x00130D98 File Offset: 0x0012EF98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as KLIOLGAIKGL);
		}

		// Token: 0x060071FB RID: 29179 RVA: 0x00130DA8 File Offset: 0x0012EFA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(KLIOLGAIKGL other)
		{
			return other != null && (other == this || (this.EAFCLNOFMHB == other.EAFCLNOFMHB && this.EHFNPFCACGJ == other.EHFNPFCACGJ && this.ItemId == other.ItemId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060071FC RID: 29180 RVA: 0x00130E04 File Offset: 0x0012F004
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EAFCLNOFMHB != 0U)
			{
				num ^= this.EAFCLNOFMHB.GetHashCode();
			}
			if (this.EHFNPFCACGJ != 0U)
			{
				num ^= this.EHFNPFCACGJ.GetHashCode();
			}
			if (this.ItemId != 0U)
			{
				num ^= this.ItemId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060071FD RID: 29181 RVA: 0x00130E75 File Offset: 0x0012F075
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060071FE RID: 29182 RVA: 0x00130E7D File Offset: 0x0012F07D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060071FF RID: 29183 RVA: 0x00130E88 File Offset: 0x0012F088
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EAFCLNOFMHB != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.EAFCLNOFMHB);
			}
			if (this.EHFNPFCACGJ != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.EHFNPFCACGJ);
			}
			if (this.ItemId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.ItemId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007200 RID: 29184 RVA: 0x00130F00 File Offset: 0x0012F100
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EAFCLNOFMHB != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EAFCLNOFMHB);
			}
			if (this.EHFNPFCACGJ != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EHFNPFCACGJ);
			}
			if (this.ItemId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ItemId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007201 RID: 29185 RVA: 0x00130F70 File Offset: 0x0012F170
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(KLIOLGAIKGL other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EAFCLNOFMHB != 0U)
			{
				this.EAFCLNOFMHB = other.EAFCLNOFMHB;
			}
			if (other.EHFNPFCACGJ != 0U)
			{
				this.EHFNPFCACGJ = other.EHFNPFCACGJ;
			}
			if (other.ItemId != 0U)
			{
				this.ItemId = other.ItemId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007202 RID: 29186 RVA: 0x00130FD4 File Offset: 0x0012F1D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007203 RID: 29187 RVA: 0x00130FE0 File Offset: 0x0012F1E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 64U)
					{
						if (num != 72U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.ItemId = input.ReadUInt32();
						}
					}
					else
					{
						this.EHFNPFCACGJ = input.ReadUInt32();
					}
				}
				else
				{
					this.EAFCLNOFMHB = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002B79 RID: 11129
		private static readonly MessageParser<KLIOLGAIKGL> _parser = new MessageParser<KLIOLGAIKGL>(() => new KLIOLGAIKGL());

		// Token: 0x04002B7A RID: 11130
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002B7B RID: 11131
		public const int EAFCLNOFMHBFieldNumber = 4;

		// Token: 0x04002B7C RID: 11132
		private uint eAFCLNOFMHB_;

		// Token: 0x04002B7D RID: 11133
		public const int EHFNPFCACGJFieldNumber = 8;

		// Token: 0x04002B7E RID: 11134
		private uint eHFNPFCACGJ_;

		// Token: 0x04002B7F RID: 11135
		public const int ItemIdFieldNumber = 9;

		// Token: 0x04002B80 RID: 11136
		private uint itemId_;
	}
}
